package cn.tedu.egweibo5.pojo.entity;

import java.util.Date;
import java.io.Serializable;

/**
 * (Weibo)实体类
 *
 * @author makejava
 * @since 2024-05-22 09:49:48
 */
public class Weibo implements Serializable {
    private static final long serialVersionUID = 676537855628607340L;

    private Long id;

    private String content;

    private Date created;

    private Long userId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Weibo() {
    }

    public Weibo(Long id, String content, Date created, Long userId) {
        this.id = id;
        this.content = content;
        this.created = created;
        this.userId = userId;
    }

    @Override
    public String toString() {
        return "Weibo{" +
                "id=" + id +
                ", content='" + content + '\'' +
                ", created=" + created +
                ", userId=" + userId +
                '}';
    }
}

